<?php
// $Id: xoops_version.php,v 1.34 2004/09/01 17:48:07 hthouzard Exp $
//  ------------------------------------------------------------------------ //
//                XOOPS - PHP Content Management System                      //
//                    Copyright (c) 2000 XOOPS.org                           //
//                       <http://www.xoops.org/>                             //
//  ------------------------------------------------------------------------ //
//  This program is free software; you can redistribute it and/or modify     //
//  it under the terms of the GNU General Public License as published by     //
//  the Free Software Foundation; either version 2 of the License, or        //
//  (at your option) any later version.                                      //
//                                                                           //
//  You may not change or alter any portion of this comment or credits       //
//  of supporting developers from this source code or any supporting         //
//  source code which is considered copyrighted (c) material of the          //
//  original comment or credit authors.                                      //
//                                                                           //
//  This program is distributed in the hope that it will be useful,          //
//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
//  GNU General Public License for more details.                             //
//                                                                           //
//  You should have received a copy of the GNU General Public License        //
//  along with this program; if not, write to the Free Software              //
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
//  ------------------------------------------------------------------------ //

$modversion['name'] = "Contact Form";
$modversion['version'] = 1.0;
$modversion['description'] = "Form to allow the public to contact the station.";
$modversion['credits'] = "David W. Pichard, II";
$modversion['author'] = "www.PichardDesign.com";
//$modversion['help'] = "news.html";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 0;
$modversion['image'] = "images/contact_form.png";
$modversion['dirname'] = "contact_form";

$modversion['sqlfile']['mysql'] = "sql/mysql.sql";

// Tables created by sql (without prefix!)
$modversion['tables'][] = "contact_form_recipients";
$modversion['tables'][] = "contact_form_contact_info";  

// Admin things
$modversion['hasAdmin'] = 1;
$modversion['adminindex'] = "admin/index.php";
$modversion['adminmenu'] = "admin/menu.php"; 

// Main contents
$modversion['hasMain'] = 1;

// Templates
$modversion['templates'][0]['file'] = 'contact_form_index.html';
$modversion['templates'][0]['description'] = 'contact_form Template Page';


//DHTML MENU ITEMS IN ADMIN PAGE
//***** Modify hard link to this module directory in /admin/menu.php
//Update "case" variables in /admin/index.php
$adminmenu[0]['title'] = "Mailing Address";
$adminmenu[0]['link'] = "admin/index.php?op=address&currentID=0";
$adminmenu[1]['title'] = "Voice Numbers";
$adminmenu[1]['link'] = "admin/index.php?op=voice&currentID=1";
$adminmenu[2]['title'] = "Fax Numbers";
$adminmenu[2]['link'] = "admin/index.php?op=fax&currentID=2";
$adminmenu[3]['title'] = "Office Hours";
$adminmenu[3]['link'] = "admin/index.php?op=hours&currentID=3";
$adminmenu[4]['title'] = "Subject Line / Recipients";
$adminmenu[4]['link'] = "admin/index.php?op=subject&currentID=4";

//##############################################################
//ITEMS USED IN THE MODULE PREFERENCES SECTIONS - must have corresponding info in /language/modinfo.php
//##############################################################

 
$modversion['config'][1]['name'] = 'enableSpamFilter';
$modversion['config'][1]['title'] = '_enableSpamFilter_Title';
$modversion['config'][1]['description'] = '_enableSpamFilter_DESC';
$modversion['config'][1]['formtype'] = 'yesno';
$modversion['config'][1]['valuetype'] = 'int';
$modversion['config'][1]['default'] = 0;
?>
